#include "Piece.h"
#include "Plateau.h"
#include "RecuitSim.h"

int main(int argc, char **argv) 
{

	srand(1);

	Plateau tplat(16,16);
	tplat.loadFile("pieces_eternity_utf8.csv");
	
	RecuitSim recuit(&tplat, 10, 1, 10000, 60);
	recuit.Run();

	cout << endl << "Best score : " << recuit.GetBestPlateau()->Check() << endl << "Result saved to EternityII_solution.txt" << endl;

	recuit.GetBestPlateau()->ToFile("EternityII_solution.txt");

	return 0;
}